/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package entidates;

/**
 *
 * @author Overpower
 */
public class Catedra implements IEntidad, Cloneable {
    // propiedades
    private Integer _idMateria;
    private Integer _idPlanEstudio;
    private String _aula;
    private String _calendarPath;
        
    // getters y setters
    @Override
    public Integer GetID() {
        return -1;
    }

    @Override
    public void SetID(Integer id) {
    }

    public Integer GetIdMateria() {
        return _idMateria;
    }

    public void SetIdMateria(Integer _idMateria) {
        this._idMateria = _idMateria;
    }

    public Integer GetIdPlanEstudio() {
        return _idPlanEstudio;
    }

    public void SetIdPlanEstudio(Integer _idPlanEstudio) {
        this._idPlanEstudio = _idPlanEstudio;
    }

    public String GetAula() {
        return _aula;
    }

    public void SetAula(String _aula) {
        this._aula = _aula;
    }

    public String GetCalendarPath() {
        return _calendarPath;
    }

    public void SetCalendarPath(String _calendarPath) {
        this._calendarPath = _calendarPath;
    }

    @Override
    public void Copiar(IEntidad entidad) {
        Catedra _t = (Catedra)entidad;
        _idMateria = _t._idMateria;
        _idPlanEstudio = _t._idPlanEstudio;
        _aula = _t._aula;
        _calendarPath = _t._calendarPath;
    }

    @Override
    public IEntidad Clonar() {
        Catedra _clon = null;
        try
        {
            _clon = (Catedra) super.clone();
        }
        catch(CloneNotSupportedException e )
        {
            
        }
        return _clon;
    }
   
}
